#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import numpy as np


a = np.random.randint(1,100,size=(5,5))
m,n = np.shape(a)
b = np.zeros((m+2,n+2))
b[1:m+1,1:n+1] = a
b = b.astype(int)
print(b)